package com.black.cat.seed.entity;


import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import javax.validation.constraints.*;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 服务回访记录
 *
 * @author blackcat
 * @since 2021-03-25
 */
@Data
@ApiModel(description = "服务回访记录")
public class ServiceReturnVisit extends  BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull()
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "回访企业")
    private String companyName;

    @ApiModelProperty(value = "服务专家")
    private String serviceProfessor;

    @ApiModelProperty(value = "服务机构")
    private String serviceBusiness;

    @ApiModelProperty(value = "得分")
    private String score;

    @ApiModelProperty(value = "服务时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date serviceTime;

    @ApiModelProperty(value = "记录人")
    private String recorder;

    @ApiModelProperty(value = "记录时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date recordTime;
    @ApiModelProperty(value = "备注")
    private String remark;

}
